home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 July / EnigmA AMIGA RUN 09 (1996)(G.R. Edizioni)(IT)[!][issue 1996-07 & 08][EARSAN CD VIII].iso / earcd / dev1 / debglb10.lha / Install DebugLib < prev    next >
Text File  |  1996-05-11  |  2KB  |  115 lines

  1. ; Installer script for DebugLib
  2. ; $VER: Install DebugLib 37.1 (11.5.96)
  3.  
  4. (complete 0)
  5.  
  6. (set #default-inc"INCLUDE:clib/")
  7. (set #default-lib"LIB:")
  8.  
  9. (set #src-adoc "AutoDocs/debug_lib.doc")
  10. (set #src-inc "Include/clib/debug_protos.h")
  11. (set #src-lib "Lib/debug.lib")
  12.  
  13. ; ***************************************************************************
  14. ; English strings
  15.  
  16. (set #welcome
  17.     (cat "\nDebugLib installation\n\n\n"
  18.        "This script will install DebugLib 1.0\n"
  19.        "on your Amiga.\n\n\n\n"
  20.        "DebugLib is\n"
  21.        "Copyright © 1996 Michal Letowski\n"
  22.        "All rights reserved.\n\n"))
  23.  
  24. (set #where-adoc
  25.     (cat "Where should AutoDoc be installed?"))
  26.  
  27. (set #where-inc
  28.     (cat "Where should header file be installed?"))
  29.  
  30. (set #where-lib
  31.     (cat "Where should link library be installed?"))
  32.  
  33. (set #prompt-adoc
  34.     (cat "Copying AutoDoc"))
  35.  
  36. (set #prompt-inc
  37.     (cat "Copying header file"))
  38.  
  39. (set #prompt-lib
  40.     (cat "Copying link library"))
  41.  
  42.  
  43. ; ***************************************************************************
  44. ; Install DebugLib
  45.  
  46. (message #welcome)
  47.  
  48. (welcome)
  49. (set old_level @user-level)
  50.  
  51. (user 2)
  52. (set #adoc-dir
  53.     (askdir
  54.         (prompt #where-adoc)
  55.         (help @askdir-help)
  56.         (default @default-dest)
  57.         ("assigns"))
  58. )
  59.  
  60. (set #inc-dir
  61.     (askdir
  62.         (prompt #where-inc)
  63.         (help @askdir-help)
  64.         (default #default-inc)
  65.         ("assigns"))
  66. )
  67.  
  68. (set #lib-dir
  69.     (askdir
  70.         (prompt #where-lib)
  71.         (help @askdir-help)
  72.         (default #default-lib)
  73.         ("assigns"))
  74. )
  75.  
  76. ; Do copy
  77. (user old_level)
  78.  
  79. ; Copy AutoDoc
  80. (copyfiles
  81.     (prompt #prompt-adoc)
  82.     (help @copyfiles-help)
  83.     (source #src-adoc)
  84.     (dest #adoc-dir)
  85.     (confirm)
  86.     (optional "nofail")
  87. )
  88. (complete 33)
  89.  
  90. ; Copy header
  91. (copylib
  92.     (prompt #prompt-inc)
  93.     (help @copylib-help)
  94.     (source #src-inc)
  95.     (dest #inc-dir)
  96.     (confirm)
  97.     (optional "nofail")
  98. )
  99. (complete 66)
  100.  
  101. ; Copy library
  102. (copylib
  103.     (prompt #prompt-lib)
  104.     (help @copylib-help)
  105.     (source #src-lib)
  106.     (dest #lib-dir)
  107.     (confirm)
  108.     (optional "nofail")
  109. )
  110.  
  111. (complete 100)
  112.  
  113. (set @default-dest "")
  114. (exit)
  115.